﻿<script id="tpl-product-list" type="text/html">    
{{#Data}}
<tr id="p-{{ProductId}}">
    <td><input type="checkbox" value="{{ProductId}}"/></td>    
    <td class="aligncenter">{{ItemIndex}}</td>
    <td class="aligncenter">        
        <img src="/Thumb.ashx?id={{ProductId}}&tid=1&size=120" alt=""/>            
    </td>
    <td>{{Code}} - {{Name}}</td>
    <td>{{CategoryName}}</td>
    <td class="alignright">{{FormatUnitPrice}}</td>
    <td class="alignright">{{FormatSpecialPrice}}</td>    
    <td class="aligncenter">{{{IconStatus}}}</td>    
    <td>
        <a class="btn14 mr5 topDir" title="Sửa" onclick="Product.GetProduct({{ProductId}});">
            <img alt="" src="/images/icons/dark/pencil.png"/>
        </a>
        <a class="btn14 topDir" title="Xóa" onclick="Product.Delete({{ProductId}});">
            <img alt="" src="/images/icons/dark/close.png"/>
        </a>
    </td>
</tr>                        
{{/Data}}        

{{^Data}}           
<tr>
    <td colspan="8">Không có dữ liệu!</td>
</tr>
{{/Data}}
</script>